package com.ibeeking.found.cop.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName  MsgFansMomentTaskFriendsDO
 * @Description 朋友圈任务发送客户表
 * @Author ibeeking
 * @Date 2021-01-15 10:44
 **/
@Data
@TableName("msg_fans_moment_task_friends")
public class MsgFansMomentTaskFriendsDO implements Serializable {
    private static final long serialVersionUID = -1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 任务id
     */
    @TableField(value = "task_id")
    private Long taskId;
    /**
     * 朋友圈id
     */
    @TableField(value = "moment_id")
    private Long momentId;

    /**
     * 企微返回的任务Id
     */
    @TableField(value = "moment_code")
    private String momentCode;

    /**
     * 企微返回的任务Id
     */
    @TableField(value = "job_id")
    private String jobId;
    /**
     * 发送人id
     */
    @TableField(value = "sender_id")
    private Long senderId;

    /**
     * 发送人code
     */
    @TableField(value = "sender_code")
    private String senderCode;
    /**
     * 1=客户；2=员工
     */
    @TableField(value = "friends_type")
    private Integer friendsType;
    /**
     * 客户id,当friendsType=2时候，这里保存employeeid
     */
    @TableField(value = "friends_id")
    private Long friendsId;

    /**
     * 客户code,当friendsType=2时候，这里保存employeeCode
     */
    @TableField(value = "friends_code")
    private String friendsCode;

    /**
     * 有评论：1=有；0=无
     */
    @TableField(value = "have_comment")
    private Integer haveComment;

    /**
     * 评论内容
     */
    @TableField(value = "comment_text")
    private String commentText;

    /**
     * 评论时间
     */
    @TableField(value = "comment_time")
    private LocalDateTime commentTime;
    /**
     * 有点赞：1=有；0=无
     */
    @TableField(value = "have_like")
    private Integer haveLike;

    /**
     * 点赞时间
     */
    @TableField(value = "like_time")
    private LocalDateTime likeTime;
}
